<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Beehive</title>
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}">
    <script th:src="@{/js/jquery-3.4.0.js}"></script>
    <style>
        body {
            margin: 0 10px;
        }

        /*设置layui单元格*/
        tbody .layui-table-cell {
            height: 40px;
            line-height: 40px;
        }

    </style>
</head>
<body>

<!-- 面包屑导航 -->
<span class="layui-breadcrumb">
    <blockquote class="layui-elem-quote">
        <a th:href="@{/admin}" target="_parent">首页</a>
        <a href="#" target="_self">评论管理</a>
        <a><cite>反馈列表</cite></a>
    </blockquote>
</span>

<!-- 数据表格 -->
<table id="feedbackList" lay-filter="feedbackTable"></table>

<!-- 工具头 -->
<script type="text/html" id="headerBar">
    <div class="layui-btn-container">
        <!-- 刷新 -->
        <a class="layui-btn layui-btn-sm" lay-event="refresh">
            <i class="layui-icon layui-icon-refresh"></i>
        </a>
    </div>
</script>

<!-- 工具条 -->
<script type="text/html" id="feedbackListBar">
    <a class="layui-btn layui-btn-normal layui-btn-sm" lay-event="check">查看</a>
    {{#  if(d.status == 2) { }}
    <a class="layui-btn layui-btn-disabled layui-btn-sm" disabled>回复</a>
    {{#  } else { }}
    <a class="layui-btn layui-btn-warm layui-btn-sm" lay-event="reply">回复</a>
    {{#  } }}
    <a class="layui-btn layui-btn-danger layui-btn-sm" lay-event="delete">删除</a>
</script>

<script th:src="@{/layui/layui.js}" charset="UTF-8"></script>
<script th:src="@{/js/feedbackList.js}" charset="UTF-8"></script>

</body>
</html>